package cn.mandy.sysadmin.dto;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MandyUserHologram {
    private MandyUserWithRoles userInfo;
    private List<MandyRoleResource> menus;
    private Map<Long, String> roles;

    public MandyUserWithRoles getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(MandyUserWithRoles userInfo) {
        this.userInfo = userInfo;
    }

    public List<MandyRoleResource> getMenus() {
        return menus;
    }

    public void setMenus(List<MandyRoleResource> menus) {
        this.menus = menus;
    }

    public Map<Long, String> getRoles() {
        return roles;
    }

    public void setRoles(Map<Long, String> roles) {
        this.roles = roles;
    }

    public MandyUserHologram() {
        userInfo = new MandyUserWithRoles();
        menus = new ArrayList<>();
        roles = new HashMap<>();
    }
}
